to_integer

pure function to_integer(): integer

Converts this decimal to an integer by rounding towards 0. Throws and exception if out of range.

Since

0.9.1